#define _CRT_SECURE_NO_WARNINGS 1


#include<iostream>
#include<vector>
using namespace std;

#include"Hash.h"

int main()
{
	//Dream_HS_list::HashTable<string, int> hash;
	////int a[] = { 10,9,4,14,26,34 ,5};
	////for (int i = 0; i < sizeof(a)/sizeof(a[0]); i++)
	////{
	////	hash.Insert(make_pair(a[i], a[i]));
	////}

	//hash.Insert(make_pair("cba", 1));
	//hash.Insert(make_pair("abc", 1));

	//hash.Print();

	Dream_Hash_Bucket::HashTable<int, int> hash;
	hash.Insert(make_pair(1, 1));
	hash.Insert(make_pair(11, 1));
	hash.Insert(make_pair(22, 1));
	hash.Insert(make_pair(2, 1));
	hash.Insert(make_pair(3, 1));
	hash.Erase(1);
	hash.Erase(11);
	hash.Erase(22);
	hash.Erase(33);
	hash.Print();
	return 0;
}